projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a18bb1
)
Remove compat code from auth-source
author
Lars Ingebrigtsen
<larsi@gnus.org>
Sat, 13 Feb 2016 05:28:26 +0000
(16:28 +1100)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Sat, 13 Feb 2016 05:28:26 +0000
(16:28 +1100)
* lisp/gnus/auth-source.el (auth-source-read-char-choice):
Remove compat code.
lisp/gnus/auth-source.el
patch
|
blob
|
history
diff --git
a/lisp/gnus/auth-source.el
b/lisp/gnus/auth-source.el
index 32b39b924f9c4184b6dc6ee584351fb80dc68922..b9341f5ce8ebbdec1477f1f7164dcba65e8f6c66 100644
(file)
--- a/
lisp/gnus/auth-source.el
+++ b/
lisp/gnus/auth-source.el
@@
-372,11
+372,7
@@
with \"[a/b/c] \" if CHOICES is \(?a ?b ?c)."
k)
(while (not (memq k choices))
- (setq k (cond
- ((fboundp 'read-char-choice)
- (read-char-choice full-prompt choices))
- (t (message "%s" full-prompt)
- (setq k (read-char))))))
+ (setq k (read-char-choice full-prompt choices)))
k)))
;; (auth-source-pick nil :host "any" :port 'imap :user "joe")